getFirstMatch

fun getFirstMatch(separateSplitParents: Boolean, filter: TxnSearch): Txn?

Returns the first AbstractTxn that matches the given search. If separateSplitParents is true then this will iterate over fine-grained Txn objects, meaning that any ParentTxn with more than one split is returned in multiple Txn objects, one for the parent side of each SplitTxn.

Since

Moneydance 2022.3 (build 4062)